
// ##############################
// ####  note:  bokeweilai protocol door sibo main fun
// ####  create:  TANWENHUI (twh:谭文辉)
// ####  date:   2024/6/18
// ##############################

#ifndef __BKWL_DEVICE_DOORBELL_PROTOCOL_MAIN_H__
#define __BKWL_DEVICE_DOORBELL_PROTOCOL_MAIN_H__
#include "bkwl_common.h"

#define BKWL_SIBO_MQTT_PROTOCOL_DEVICE_PAIR_NET "0001"       // 配网信息
#define BKWL_SIBO_MQTT_PROTOCOL_DEVICE_HEARTBEAT_SEND "0002" // 设备心跳信息
#define BKWL_SIBO_MQTT_PROTOCOL_DEVICE_PROPERTY_SEND "0003"  // 设备属性状态上报
#define BKWL_SIBO_MQTT_PROTOCOL_DEVICE_NOTIFY_SEND "0004"    // 设备事件上报
#define BKWL_SIBO_MQTT_PROTOCOL_DEVICE_NOTIFY_REPLY "0005"   // 设备事件上报响应
#define BKWL_SIBO_MQTT_PROTOCOL_SERVER_SET_UNLOCK "0006"     // 下发远程开锁指令
#define BKWL_SIBO_MQTT_PROTOCOL_DEVICE_IMAGE "0007"          // 设备图传指令
#define BKWL_SIBO_MQTT_PROTOCOL_DEVICE_SET_LOCAL_USER "0008" // 设置本地用户指令

extern bk_err_t bkwl_mqtt_sibo_heartbeat_send();
extern bk_err_t bkwl_mqtt_sibo_property_send(char *type, char *data);
extern bk_err_t bkwl_mqtt_sibo_notify_send(char *type, char *user, char *data, char *utype);
extern bk_err_t bkwl_mqtt_sibo_pair_net(char *token);
extern bk_err_t bkwl_mqtt_sibo_upload_image();

// extern bk_err_t bkwl_mqtt_sibo_notify_reply_send(char *name, char *data);

#endif
